working tests and nocks.