Add test for xorg function normalization

Related to #191.

Signed-off-by: Martin Milata <mmilata@redhat.com>