added assertion tests