fixing buildsample

- https://github.com/Shippable/pm/issues/1068
- providing correct port to connect to postgres
- inserting initial data into db
- fetching correct row from db to run the test against