finish perimenumber_test