[href$='foo/']:before: Foo (should read “Test” first), Bar (should not read “Test”)

[href^='foo/']:before: Foo (should read “Test” first), Bar (should not read “Test”)

Control (should be green)