Adding object support and validation

validation will test the virtual methods, currently test isn't removing
parents virtual method count.
Merge pull request #11 from staticcat/master

Adding object support and validation