Added buffer management basic tests