Add Peek and functional tests for Clear