Re-exposed the log filtering level

- cleaned up compiler warnings
Added another acc-test
Fixed the unit-test reporting by using CUnit API