add test for local