made jvm-commons safer, and added a redeploy test