[PLAT-6603] Additional unit tests for stub resolution