Unit test for pourbaixcompatibility