added test and twitter handlers