Added tests of basic functionality

- Testing using default values for properties
- Testing casting types
- Adding *.js to the test line in package.json to get it working on
Windows
- Removed stupid test