Configuration, tweaking, and tests

Added more configuration for Karma, tweaked the dumb API, and added some
tests