Testing if condition in .yml file