Switched test cases to use g_test_trap_subproces instead of g_test_trap_fork for compatibility with glib 2.38
Fixed a minor typo (test_trap_fork -> g_test_trap_fork) and added a missing )
Merge pull request #62 from rossdylan/glib238

Switched test cases to use g_test_trap_subprocess on glib >= 2.38