Added relation tests
Removed callback tests
Added Document entity
Improved operator parsing efficiency