Started API tests, fixed minor backend bugs, migrated from Redis to CouchDB