Add junit jar and rewrite the build script.