unit tests for nose plugin