-mpassed the tests, checked if record can be written in db