Added tests for lists