Add prelim tests
Fix urls returned when creating a record, it was missing a /