Duplicated examples folder to tests
* added isValid check in list resource