Moved asserts to new library
Added tests for console