Added tests

Now testing property and method injection.