testsuite: added duplicate recognition tests - closes #638

Signed-off-by: Petr Kubat <pkubat@redhat.com>