Added unit test for the test() method of ext storage

This is to make sure that method isn't broken. (as it was the case with S3)

Please review @DeepDiver1975 @icewind1991 @karlitschek @schiesbn