I am not sure if this is correct. Shouldn't you use "/usr/bin/test <your expression> -eq 0" for the test?
What is the behaviour otherwise?