start implementing tests in c