Added decent unit tests to carousel