core,ui: fix test duplicate keys

Fix path of DuplicateKeysTest so it will work properly in
Windows environment too.

Change-Id: Id0467adc8a9b03c300aeb60dc752bf685c50b128
Signed-off-by: Alissa Bonas <abonas@redhat.com>