feat: functional tests for the vault endpoint