Replace naked numbers with constants in test.c