Merge pull request #766 from rhattersley/better-tests

Convert tests to use assertIsInstance.
Switch to biggus for deferred loading.
Update tests.
Update results
Remove obsolete import and stop swapping byte order.