Add test for strict/loose requirement checking.

These tests show that #9 is not needed.