enable regression tests while here. based on diff from Jon Olsson. ok alek@, thanks aanriot@ for testing