Replace deprecated junit.framework.Assert calls

Replace deprecated calls to JUnit methods by their new contreparts