test(lib): Fix require stub and fake module keys