Add more decorator tests, add common function tests.