Brake unit tests