Add list and dict tests

I noticed the lack of tests in the test files, so I gave it a try and added some basic tests described in the documentations.