BJA-509 added check for empty RDN and test for same.