replaced accidental junit 3.8 assert usages with 4