Unit test fix after databse environment variable was added