Update certificates.js

Added the test element for showing inventory.