remove useless object instantiation tests