Add tests for ::nodeAt method