Unit testing framework with chained tests