Add test dependency for mockito and refactor / extract remoting config load logic into HandlerConfigLoader