adding comparison assertions and updated tests