Add API and config tests