fixed wrong syntax for and expression of test command