added regression test for issue146; added back tests for list