tests for pop, top