Enhancements

- better isinstance() check for list object
- better assertion types used