Test Buffer + smart pointer