fixing memory problems with unit tests
Merge branch 'master' of github.com:andreasprlic/symmetry