[4.2] Tests : assertSame and assertNotSame

Use assertSame and assertNotSame instead of boolean assertions