unit tests for output op - added script to check how well the outop is sampled