Properly setup test environment database