use nose for unit testing