Added rebuild database to test pom.