[CHORE] Delete trailing whitespace.
[CHORE] Bugfix and styleguide compliance.

Define vaultClient variable. (Was used as a global.)
Remove superfluous newlines as per airbnb/javascript.
Name of test-suite should be name of class.