decorators unit tests.