Adds unit tests for server-side schema handling

Change-Id: I0c4bb4dafb11ba51e875b48f5ef5c68fc24c29df