Add validations and tests for Theory

* Check if order is positive and if it is unique
* Removes chapter_id from accessible attibutes