more tests
now a decorator