While creating a number of unit tests, many hidden bugs have been fixed. Also added more MDP-like object files to load, and completed the test_action function.