use nose directly for testing; include doctests