fixed endexpressiontest