Fixed caching on the resources.
Added test suites to simplify testing.
Added missing validator.
Merge branch 'validation' into develop