Add tests for liters

Signed-off-by: Igor Popov <igor.popov89@gmail.com>
Improve assert message

Signed-off-by: Igor Popov <igor.popov89@gmail.com>