Ported unit tests to centrifuge.