update test to check only relevant conditions