added an assertion test