Cleaning up a test failure and adding a nested test