Updated and extended pattern hop factory unit test