Adds NimMain to C test so it works. Refs #26.