fix tests and teststand