added some tests, updated use of sph constants due to minor refactoring