Use assertEqual instead of the deprecated assertEquals

Closes #375

Signed-off-by: Tomaz Muraus <tomaz@apache.org>