added tests for setAddress and setStatus