signin and test fixes