Test fixes for Bio::Assembly::Tools::ContigSpectrum

1/ Fixed hash randomization issues (bug #3445)
2/ Skip some tests if Graph::Undirected is not installed
3/ Removed useless parentheses
Use 'exists', not 'defined', to check for existence of hash entry