SFD-60

Adding unit tests for the discovery schema.