added tests for valid formats