Created Unit Tests

Finished parsing constants & testing.  Started unit testing the
device.js file in device_test.js