testing if condition with real contents