fix big bug with {{ a[b].c }}
add tests; version bump 0.1.6