add unit test, also one example from the db to the front-end