added 6 tests, mostly spk related functions.