Tests for galfitm