Use assertSame rather than assertEquals to prevent false positives due to type juggling.