Made DatabaseStream's __exit__() favor incoming exceptions over its own
Added some error tests for SourceStream
Made the formula parser work with numpy 1.9