Add Tests for "stateless" attribute on Document model