Fixed setup ps script, added project checking to the webapi testcontroller