Add test for syntactic sugar and modify readme