test of adding entities to db