Convert assertEquals to assert statements

Plain assert statements are less cumbersome and more natural than method
calls.