fix #10 decorator tests cases