Add decorated view test

As you can see, a failure is expected. Not sure why yet. Will be trying
to fix in the next little while.
Merge pull request #25 from shuhaowu/index-get-conflict

Add decorated view test