Added code-behind test harness