add a test for fastcomp issue 24