Add test for php error that occurs with flips