test for is_valid() added
cleanupcommit