AS7-4654: Reopened: Instead of storing attribute's value in the vault,
it was the attribute itsel that was stored. Adding a unit test.