[BUGFIX] Enable skipped tests by properly creating mocks