Fixed counts when tests are deselected and added support for expected failures and unexpected passes.