decorator test