Add simple formatter tests

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add max_sharing tests

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
Add tests for memory.cpp

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>