added n=2,n=5 goal test