fixed pop method in list and added test
Merge remote-tracking branch 'origin/dev' into dev