Scotland's cash-strapped NHS is under fire for spending hundreds of thousands of pounds hiring professional actors to pretend to be patients.