Used ScalaTests's loneElement whenever possible.