Initial draft of tests for is_valid