supplement the persistence layer and test it