Create random snapshot directory in test