Removes reflection from tests