flatten text file fix failing test lint changes change test values remove coverage added more tests for hex, added validation for hex