using javac to compile test