InfiniteContainer: added jasmine tests