implementd wrapper and added test application