Add cbehave and config tests (fixes #52)