elementAt tests