Added a test case for dot expression.