Add configure and emit tests