added some features to test
use much less-than and greater-than for << and >>
make tests run properly
added some javascript testing