Added a test harness
Added an api file to the locker test