Test for a struct.unpack bug.

Reading data fails on python 2.7.3 but not 2.7.5 because struct.unpack can't handle bytearrays as inputs. This commit adds a failing test that triggers the bug in preparation for fixing it.
Tox and Travis testing congigs.