add in tests for the bug, which don't work yet
get tests working, but still failing due to a bug in lots of other tests.