improve testing settings
add test database settings