Fix deprecation issue with AdminMediaHandler
added dec to skip 3 tests if sqlite3