Added build and test sequence to build.xml for test code