testing object in form state