Tests reflection class