Make tests py2.6 compatible
Add build badge to readme