add constants to main exports
test: add key parser tests