Refactored class TestCaseLoader and its unit testing

Signed-off-by: Raffaele Aquilone <aquiloneraf@gmail.com>
Merge branch 'data_ref_tcloader' into data