Brake unit tests

Second approach