Add tests for function 'peek_into'