Added some key path tests to avoid crashes