got all previously existing unit and integration tests working, switched from jasmine 1.0 to mocha for better async support and consistency, made calls to constants all use a consistent pattern