Fixing ticket 801

https://svnweb.cern.ch/trac/cactus/ticket/801
 - added tests for this bug
 - added core/tests to general tests