Tests for lastOr and stripNone