Added more test cases for addressOf.