more docs
add more tests, case specific ones
bugfix