improve test with guard by test results