page download controller unit tests