updates unit test for swver