fixed tests cases on test_database setUp