tests for the string assertion