fixing junit to be success instead of error