test case actually now writes data to a database, updated readme