Factored out test of fornberg and put it in tests