Added basic test code.