Added maple commands to test
Removed some unnecessary code