Bug fix: test 3 passes