RSpec integration for MXL and IOA. Formatted and removed commented code

RSpec integration for MXL and IOA. Formatted and removed commented code