Fixed import errors in test
fixed a bug with the parser skipping secont line. Also it is a little less picky about the header form