successful unit tests for z conditionals