layout test rebase, bug fix

* rebase layout test based on newly enabled http tests
* fix a bug in initializing parameters (should happen before super.onCreate)
5 files changed