require parser in spec_helper
moved sample files to spec, added parser methods