add test script
migrated to java6 and old school spring