Support constructors (fixes #98)
Add test for constructors (#98)