feat(JS Unit Test); added tests for toggle UI