Added a test file for Affinity. Just setUp method is currently written.