fixed testing assert statement