From #911. It should be possible to avoid the duplication of identical test methods for four different classes, somehow.