working embed test harness