Pythonic tests