changed to nose asserts