wrong return type in quadgk test