add sample application and test