Internet giant Google has officially become the first company to receive the license to test self-driving cars on public roads.