Added initial test

Tests default functionality, required attrs to pick
Added initial package.json, .gitignore
Added validation test cases
Added implementation code to satisfy tests