Fixed tests meant for 'test' environment only, not for 'testext'