Legislation to test self-driving cars on public roads approved by Cabinet