LPS-34074 Add unit test

Adding a unit test so that QA doesn't have to figure out how to test this manually.