this still needs to be a mock, as we call expects at some point. see travis failure.