preventing test deps from being auto removed and fixing phonys