Restructured some tests.
Added lager logger libs.
Fixed some bad tests.