Major Schema and function testing