Added test for TwoDTrackFactory
Implemented TwoDTrackFactory