testing reflection based condition object