added some test to show bugs in the applications implementation