modified rcnn_test for L2 normalization