added assertion test