Add tests for $ and *