Fixed bug where cell was not getting inserted because index is optional.
Make widget tests use new casper util functions