issue74 tests for is_acitve_trail and acitve_trail_nodes

I have tried to cover all the cases.

Please review