test cases for pot.java