Removed unused PYFLAKES declaration and nonexistent tests target
Fixed incorrect building of "all" target
Added messages about tests failing