Add basic memory profile test