UnitTest RoundUp

Minor bugfix (need to force gc for performance test if you run test.exe
in IDE),
minor tweaks
Merge pull request #29 from GrafSeismo/master

UnitTest round up