test: add decorator test