Do all offices have online tests before interviews take place?
Not all firms and offices use online tests, but many of the larger international firms are starting to use online tests. It depends on the firms quite a bit, and it can vary by which region you are applying to as well.
Some of the firms that currently have online tests include:
McKinsey: Problem Solving Game