moved sonu's directive testing to non-db-tests