Request mock and resources tests