added some test logic to set up database and base values