Various tests (not for public:)