Added unit test for legacy less code