rethrow error
add tests for list types