The local Tb theorem with rough test functions