Fix double counting pawn checks in case of double checks

This fixes double counting pawn checks similarly to other checks that
was fixed before. This happens in case of double checks and only affects
perft.
Added exit status to perft tests & removed complex cases

This change is partly to make the test work on travis-ci. The exit
status should have been set by the test anyway.