Writing test servlet