get the value from the options dictionary under the key 'test_database', or False if the key dont exists, substitute it for self.test_database.
self . test_database = options . get ( 'test_database' , False )