remove "sbt/" prefix in $JAR variable make the script pass if test