Add tests for invalid data.