updated settings for tests
removed db_tables, removed deprecated api methods from management command