Add a test for computed property support.

Addresses #11.