getting rid of unnecessary properties to filter in tests