Unit tests are for testing units of code (methods) not individual conditions within those units. If you narrow a problem down to a single unit via unit testing, you still need to work out exactly where in that unit things are going wrong.
Besides I'm pretty sure unit testing is beyond the OP at the moment