Change type of latitude and longitude from cache to float.
Add test for type testing from cache.