added test and karma conf