Resolved failing test due to int being passed as index rather than NSUInteger