Creates a test method with first hash.