Convert tests to use nose