fixed assertion test