added a test for property injection (setDate())