Added searchById checking
Added TestDiagramScene class