Tests for adding mock with extraInterfaces