refined sample data parser and test