only do mock stuff where it is installed