testing utilities
test improvements and some primitives and extensions to help with them
(rpy) leave only actual tests in test.k