TEST: added missing tests for expectmax module