invalidated code tests