refactored JavacSmoothTest