added tan's test case program