fixed intermittant test failure

added checkstyle and find bugs to build.