Brake unit tests

Once more