skip format test in case of unmounted device

unmounted devices might or might not know in before the fstype