Fix warnings
Update tests and examples conforming latest mflect changes