ease test format
add examples, unit tests