add nosetest for RMS vs minimax structure matching