more tests, need to implement record matching