added tests for property injection