change assert's syntax to accept string instead of lazy