added more tests
Merge pull request #29 from njasm/feature-property-method-injection

added more tests.
fixed tipo in Definition class