Adds test to test_decorators.py for issue #283.