POULPE-518 Added tests.