FIX: Make testing slightly cleaner

This does not fix the problems in `master`, but it should make them easier to diagnose. Ready for review/merge from my end. 
If `a` and `b` are not the same size, the error used to be cryptic (`False has no method .sum`), now it's meaningful and says a and b are not broadcastable