Unused references

Removing unused references from main and test projects.