Adds unit tests for expansion create/query.