Fixed bug in test framework. The comment was not checked if there was no comment expected.