LPS-27037 Change to extend portal kernel class instead of commons-lang
LPS-33959 - Add Function Command Unit Tests