Register test with duplicate names only once

Due to the data structure in use, test order is not guaranteed anymore