Add simple tests and configure karma/jasmine