fixing feature bugs and the first of many nosetests