test + fix to support scala.home (test need refactor to be portable)