generalized tests
added test file
changed source of CMGTools
updated submodules