Fixed account lock tests.