Implements nose for testing.