Update wallet_test.html

added a factory to handle the entries of the wallet