Added qUnit testing files and completed more work on constructor.