ifgram passes unit tests