Fixed scriptLogger tests.