Add testsim, meta tests

testsim.h includes the meta functions required to run tests.
In sorttest.cpp, these meta functions are tested first.

Signed-off-by: Thameera Senanayaka <thameera123@gmail.com>