tests debug and docs