new unit tests

the tests with placeholder fail() are now implemented, although one is still failing; needs review.