validate against format
cleaned unittests