Test model type before attempting to connect (if it fails, it causes the script to exit, so connecting was pointless) ; improved tests to use skip_all (really need to start using Test::MockObject)