Added AbstractFactory methods and tests fro getJustKey(Long) and getJustKey(String)