Make tests work again

Updated the test settings to use newer DATABASES style.
Fixed typo in test_positional_args that was causing a test failure.