fixes and twitter tests