tests with fail flag