Chapter about tests and small fixes in previous.

Signed-off-by: Krzysztof Opasiak <ups100@tlen.pl>