Created initial test structure and grunt tests. Using qunitjs
Added crucial tests and following bugs fixed