more unit tests for mwinterface