Fixed few obvious things in tests.