refactoring test
fixed syntax