update tests and foobar