set address ok and fix unit test to check it properly