Added test case for Pythonic 'self'