This patch: - refactors consoleMessage.location() implementation to make it work for workers - re-writes tests to avoid 5 second delay