Test helper to improve readability of code