added pretty formatting
fixed minor scale schema and test