add basic testing support
hide implementation (class should only reveal add and pop, internals should be hidden)