refactor fieldstrip and update tests add checks and remove empty fields shorten test and check for nil manager fix gofmt panic on nil manager