fixed bug in test syntax