a test for the fail key before value