Fixed pit and pom
Updated test and winning conditions