Experimenting with js unit testing