adding function tests and fixing commafirst lines to make them parsable