Unit test passes, new functional test