tests adjusted to work with nose