One way is to use a Pass/Fail test and set the Data Source Expression to be something like "Locals.Measurement == 0 || Locals.Measurement == 50". The other way is to create your own custom step type. There's some examples
here that you might want ot look at to get some ideas.