adding node modules and testing with karma