Added new Type definitions for keymaster v1.6.2

Added new Type definitions for keymaster v1.6.2
Additionally I fixed two file names ($code-tests.ts), according to contribution guideline.