Added unit test for carousel and modified model.py