add some asserts
add a logger test