Refactored tests to remove duplicates between integration and unit tests. Moved schema grammar to it's own file under /doc