Changing castPowers over to public
adding test for castPowers
adding test for output of toString on disabled_functions list