added tests for SPPDetectorLayer