Initial Test Add

Added some initial unit tests in QUnit, global fails because there is
no session still.