Guide to unittesting numerical software