adds test environment for db