Add gdb symbols; use gnu99 for C standard
Structure tests correctly. Complete basic tests.