generate different contents depending on request in test