Update test case, and add test goal to file pom.xml.