fixing Index models bug, adding fixtures for testing