adding State and TestStubs