tests for isXXX function 

- isBoolean function is already existing. However, no comment, so add comment
- add testing for isXXX functions
- use === and !== to replace == and != in isXXX functions