Improve readability of assert statements