more warnings enabled; fix tests