main test fuctions added, as well as blackboxtest (executable).
Now we just need someone to write test cases.