fix dump function

add Boolean/Number objects support
ignore Function objects
change testing lib to mocha