moved and cleaned up tests for SSDMatrix