fix bug on period in Test API