added assert tests