started on track picking + test cases

added the basis for picking a track and also added some test cases