testing reflection of models