Just a suggestion, but I'd recommend running the unit and system tests against a separate database from your normal workspace.  The test suites have the potential to alter some records that could cause things to not work as expected, so using an isolated workspace to run your tests can help to avoid things like that.