Skip tests when the required extensions are not loaded. Fixed Travis CI build by adding required extensions.