test_sample.rb test_run use .present?

include missing boolean functions in boolean expression
See #3619
3 jobs for feature-s/3619-test_run in 15 minutes and 32 seconds (queued for 1 second)