Patch API test also had hard-coded sys path