Needed to add junit to the class path, strange because in the other computer i was using it was not needed.