replace verbose tests with simpler string assertions