Added test for lastEl()