Added test cases and files for tracker

Tracker module hadn't any test.