Framework for testing recommendation systems