test simplified
Added missing assertions.
Corrected assertion parameters.