Add test of synchronized decorator within static and class method decorators.