added decorator test