Improoved the test for changing lwps