adding shadow features to X-Tag core, with shadow specs and test