adds main-test.cc, current segfaults (parser not right?)