text: var assert = require('assert');
  var arrayParser = require('../app/src/betterment-pdf-array-parser');
  
  describe('Betterment PDF Parsing', function() {
  	describe('Quarterly Brokerage PDFs', function() {
  		var quarterlyPdf = [
  			[],
  			["Page ","1"," of ","10"],
  			["Overview"],
  			["Quarterly Statement "],
  			["July 1, 2015 - September 30, 2015"],
  			["A.  "],
  			["i.  "],
  			["ii.  "],
  			["Betterment"],
  			["Betterment Securities, Broker-Dealer"],
  			["61 West 23rd Street, 5th Floor "],
  			["New York, NY 10010 "],
  			["883.222.9482"],
  			["ALL ACCOUNTS"],
  			["Quarterly Summary"],
  			["Portfolio"],
  			["Prior"],
  			["Balance","Change"],
  			["Current"],
  			["Balance"],
  			["Balance"],
  			["Composition"],
  			["Stocks","$1,333.22","$999.88","$1,333.22","55%"],
  			["Bonds","$1,333.22","-$999.88","$1,333.22","45%"],
  			["Total","$1,333.22","$4.55","$1,333.22","100%"],
  			["Holdings"],
  			["Prior","Change","Current "],
  			["1"],
  			["Description","Fund","Shares","Value","Shares","Value","Shares","Value"],
  			["Stocks"],
  			["US Mid-Cap Value","VOE","3.222","$999.88","3.222","$77.55","3.222","$999.88"],
  			["US Total Stock Market","VTI","3.222","$999.88","3.222","$999.88","3.222","$999.88"],
  			["US Large-Cap Value","VTV","3.222","$999.88","3.222","$999.88","13.222","$999.88"],
  			["US Small-Cap Value","VBR","3.222","$999.88","3.222","$77.55","3.222","$999.88"],
  			["Developed Markets","VEA","33.222","$1,333.22","13.222","$999.88","43.222","$1,333.22"],
  			["Emerging Markets","VWO","3.222","$999.88","3.222","$999.88","13.222","$999.88"],
  			["Bonds"],
  			["International Bonds","BNDX","13.222","$999.88","-3.222","-$999.88","13.222","$999.88"],
  			["Emerging Markets Bonds","VWOB","3.222","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["US Corporate Bonds","LQD","3.222","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["Inflation-Protected Bonds","VTIP","3.222","$999.88","-3.222","-$999.88","3.222","$999.88"],
  			["National Municipal Bonds","MUB","23.222","$1,333.22","-3.222","-$999.88","13.222","$1,333.22"],
  			["Short-Term Treasuries","SHV","3.222","$77.55","-3.222","-$77.55","3.222","$77.55"],
  			["Total","$1,333.22","$4.55","$1,333.22"],
  			["Taxable Investment Account"],
  			["Safety Net Goal"],
  			["Build Wealth Goal"],
  			["Page ","2"," of ","10"],
  			["Overview"],
  			["Current Balance","$1,333.22"],
  			["Total invested","$1,333.22"],
  			["Total earned","-$999.88"],
  			["Quarterly Statement "],
  			["July 1, 2015 - September 30, 2015"],
  			["Betterment"],
  			["Betterment Securities, Broker-Dealer"],
  			["61 West 23rd Street, 5th Floor "],
  			["New York, NY 10010 "],
  			["883.222.9482"],
  			["SAFETY NET"],
  			["Quarterly Summary"],
  			["Portfolio"],
  			["Prior"],
  			["Balance","Change"],
  			["Current"],
  			["Balance"],
  			["Balance"],
  			["Composition"],
  			["Stocks","$1,333.22","-$999.88","$1,333.22","39%"],
  			["Bonds","$1,333.22","-$1,333.22","$1,333.22","61%"],
  			["Total","$1,333.22","-$1,333.22","$1,333.22","100%"],
  			["Holdings"],
  			["Prior","Change","Current "],
  			["1"],
  			["Description","Fund","Shares","Value","Shares","Value","Shares","Value"],
  			["Stocks"],
  			["US Mid-Cap Value","VOE","3.222","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["US Total Stock Market","VTI","3.222","$999.88","-3.222","-$999.88","3.222","$999.88"],
  			["US Large-Cap Value","VTV","3.222","$999.88","-3.222","-$999.88","3.222","$999.88"],
  			["US Small-Cap Value","VBR","3.222","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["Developed Markets","VEA","23.222","$1,333.22","-3.222","-$999.88","23.222","$999.88"],
  			["Emerging Markets","VWO","3.222","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["Bonds"],
  			["International Bonds","BNDX","13.222","$999.88","-3.222","-$999.88","13.222","$999.88"],
  			["Emerging Markets Bonds","VWOB","3.222","$999.88","-3.222","-$999.88","3.222","$999.88"],
  			["US Corporate Bonds","LQD","3.222","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["Inflation-Protected Bonds","VTIP","3.222","$999.88","-3.222","-$999.88","3.222","$999.88"],
  			["National Municipal Bonds","MUB","23.222","$1,333.22","-3.222","-$999.88","13.222","$1,333.22"],
  			["Short-Term Treasuries","SHV","3.222","$77.55","-3.222","-$77.55","3.222","$77.55"],
  			["Total","$1,333.22","-$1,333.22","$1,333.22"],
  			["Dividend Payment Detail"],
  			["Payment Date","Fund","Description","Amount"],
  			["Jun 26 2015","VTV","Vanguard Value ETF","$4.55"],
  			["Jul 2 2015","VWO","Vanguard FTSE Emerging Markets","$4.55"],
  			["Jul 2 2015","VEA","Vanguard FTSE Developed Markets","$77.55"],
  			["Jul 2 2015","VTI","Vanguard Total Stock Market ETF","$4.55"],
  			["Jul 8 2015","LQD","iShares iBoxx $ Investment Grade Corporate Bond ETF","$4.55"],
  			["Jul 8 2015","VWOB","Vanguard Emerging Markets Government Bond ETF","$4.55"],
  			["Jul 8 2015","BNDX","Vanguard Total International Bond ETF","$4.55"],
  			["Jul 8 2015","MUB","iShares National AMT-Free Muni Bond ETF","$4.55"],
  			["Page ","3"," of ","10"],
  			["Dividend Payment Detail"],
  			["Payment Date","Fund","Description","Amount"],
  			["Aug 7 2015","VWOB","Vanguard Emerging Markets Government Bond ETF","$4.55"],
  			["Aug 7 2015","MUB","iShares National AMT-Free Muni Bond ETF","$4.55"],
  			["Aug 7 2015","LQD","iShares iBoxx $ Investment Grade Corporate Bond ETF","$4.55"],
  			["Aug 7 2015","BNDX","Vanguard Total International Bond ETF","$4.55"],
  			["Sep 8 2015","BNDX","Vanguard Total International Bond ETF","$4.55"],
  			["Sep 8 2015","VWOB","Vanguard Emerging Markets Government Bond ETF","$4.55"],
  			["Sep 8 2015","LQD","iShares iBoxx $ Investment Grade Corporate Bond ETF","$4.55"],
  			["Sep 8 2015","MUB","iShares National AMT-Free Muni Bond ETF","$4.55"],
  			["Sep 25 2015","VTV","Vanguard Value ETF","$4.55"],
  			["Total","$77.55"],
  			["Quarterly Activity Detail"],
  			["Change","Balance"],
  			["Date "],
  			["2"],
  			["Transaction "],
  			["3"],
  			["Portfolio/Fund","Price","Shares","Value","Shares","Value"],
  			["Jul 2 2015","Dividend Reinvestment","Bonds / BNDX","$77.55","3.222","$4.55","13.222","$999.88"],
  			["Jul 6 2015","Dividend Reinvestment","Bonds / LQD","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","13.222","$999.88"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Jul 7 2015","Dividend Reinvestment","Bonds / LQD","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Jul 14 2015","Dividend Reinvestment","Bonds / LQD","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / VTIP","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / SHV","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / MUB","$999.88","3.222","$4.55","23.222","$1,333.22"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","13.222","$999.88"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Jul 21 2015","Automatic Deposit","Bonds / MUB","$999.88","3.222","$4.55","23.222","$1,333.22"],
  			["Bonds / VTIP","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / SHV","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Aug 13 2015","Dividend Reinvestment","Bonds / MUB","$999.88","3.222","$4.55","23.222","$1,333.22"],
  			["Bonds / VTIP","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / SHV","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Aug 19 2015","Automatic Deposit","Stocks / VWO","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / VTIP","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / MUB","$999.88","3.222","$4.55","23.222","$1,333.22"],
  			["Bonds / SHV","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Sep 8 2015"],
  			["Transfer to Build Wealth -"],
  			["Rebalance"],
  			["Bonds / MUB","$999.88","-3.222","-$999.88","13.222","$1,333.22"],
  			["Bonds / BNDX","$77.55","-3.222","-$999.88","13.222","$999.88"],
  			["Bonds / VTIP","$77.55","-3.222","-$999.88","3.222","$999.88"],
  			["Page ","4"," of ","10"],
  			["Quarterly Activity Detail"],
  			["Change","Balance"],
  			["Date "],
  			["2"],
  			["Transaction "],
  			["3"],
  			["Portfolio/Fund","Price","Shares","Value","Shares","Value"],
  			["Bonds / VWOB","$77.55","-3.222","-$77.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["Bonds / SHV","$999.88","-3.222","-$77.55","3.222","$77.55"],
  			["Sep 8 2015"],
  			["Transfer to Build Wealth - Position"],
  			["Transfer"],
  			["Stocks / VOE","$77.55","-3.222","-$77.55","3.222","$999.88"],
  			["Stocks / VTI","$999.88","-3.222","-$999.88","3.222","$999.88"],
  			["Bonds / BNDX","$77.55","-3.222","-$77.55","13.222","$999.88"],
  			["Bonds / VWOB","$77.55","-3.222","-$77.55","3.222","$999.88"],
  			["Stocks / VTV","$77.55","-3.222","-$999.88","3.222","$999.88"],
  			["Bonds / LQD","$999.88","-3.222","-$4.55","3.222","$999.88"],
  			["Stocks / VBR","$999.88","-3.222","-$77.55","3.222","$999.88"],
  			["Bonds / MUB","$999.88","-3.222","-$77.55","23.222","$1,333.22"],
  			["Stocks / VEA","$77.55","-3.222","-$999.88","23.222","$999.88"],
  			["Stocks / VWO","$77.55","-3.222","-$77.55","3.222","$999.88"],
  			["Sep 10 2015","Dividend Reinvestment","Stocks / VTV","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Stocks / VTI","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Stocks / VOE","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / MUB","$999.88","3.222","$4.55","13.222","$1,333.22"],
  			["Bonds / VTIP","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / SHV","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","13.222","$999.88"],
  			["Sep 21 2015","Automatic Deposit","Bonds / MUB","$999.88","3.222","$4.55","13.222","$1,333.22"],
  			["Bonds / VTIP","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / SHV","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","13.222","$999.88"],
  			["Sep 29 2015","Dividend Reinvestment","Stocks / VEA","$77.55","3.222","$4.55","23.222","$999.88"],
  			["Sep 30 2015","Advisory Fee","Bonds / MUB","$999.88","-3.222","-$4.55","13.222","$1,333.22"],
  			["Page ","5"," of ","10"],
  			["Overview"],
  			["Current Balance","$1,333.22"],
  			["Total invested","$1,333.22"],
  			["Total earned","-$999.88"],
  			["Opened Jan 21 2015"],
  			["BUILD WEALTH"],
  			["Quarterly Summary"],
  			["Portfolio"],
  			["Prior"],
  			["Balance","Change"],
  			["Current"],
  			["Balance"],
  			["Balance"],
  			["Composition"],
  			["Stocks","$999.88","$1,333.22","$1,333.22","90%"],
  			["Bonds","$77.55","$999.88","$999.88","10%"],
  			["Total","$999.88","$1,333.22","$1,333.22","100%"],
  			["Holdings"],
  			["Prior","Change","Current "],
  			["1"],
  			["Description","Fund","Shares","Value","Shares","Value","Shares","Value"],
  			["Stocks"],
  			["US Mid-Cap Value","VOE","3.222","$77.55","3.222","$77.55","3.222","$999.88"],
  			["US Total Stock Market","VTI","3.222","$77.55","3.222","$999.88","3.222","$999.88"],
  			["US Large-Cap Value","VTV","3.222","$77.55","3.222","$999.88","3.222","$999.88"],
  			["US Small-Cap Value","VBR","3.222","$77.55","3.222","$77.55","3.222","$999.88"],
  			["Developed Markets","VEA","3.222","$999.88","23.222","$999.88","23.222","$999.88"],
  			["Emerging Markets","VWO","3.222","$77.55","3.222","$999.88","3.222","$999.88"],
  			["Bonds"],
  			["International Bonds","BNDX","3.222","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Emerging Markets Bonds","VWOB","3.222","$4.55","3.222","$77.55","3.222","$77.55"],
  			["US Corporate Bonds","LQD","3.222","$4.55","3.222","$77.55","3.222","$77.55"],
  			["National Municipal Bonds","MUB","3.222","$77.55","3.222","$999.88","3.222","$999.88"],
  			["Total","$999.88","$1,333.22","$1,333.22"],
  			["Dividend Payment Detail"],
  			["Payment Date","Fund","Description","Amount"],
  			["Jun 26 2015","VTV","Vanguard Value ETF","$4.55"],
  			["Jul 2 2015","VWO","Vanguard FTSE Emerging Markets","$4.55"],
  			["Jul 2 2015","VEA","Vanguard FTSE Developed Markets","$4.55"],
  			["Jul 2 2015","VTI","Vanguard Total Stock Market ETF","$4.55"],
  			["Jul 8 2015","LQD","iShares iBoxx $ Investment Grade Corporate Bond ETF","$4.55"],
  			["Jul 8 2015","VWOB","Vanguard Emerging Markets Government Bond ETF","$4.55"],
  			["Jul 8 2015","BNDX","Vanguard Total International Bond ETF","$4.55"],
  			["Jul 8 2015","MUB","iShares National AMT-Free Muni Bond ETF","$4.55"],
  			["Aug 7 2015","LQD","iShares iBoxx $ Investment Grade Corporate Bond ETF","$4.55"],
  			["Aug 7 2015","MUB","iShares National AMT-Free Muni Bond ETF","$4.55"],
  			["Aug 7 2015","BNDX","Vanguard Total International Bond ETF","$4.55"],
  			["Aug 7 2015","VWOB","Vanguard Emerging Markets Government Bond ETF","$4.55"],
  			["Sep 8 2015","VWOB","Vanguard Emerging Markets Government Bond ETF","$4.55"],
  			["Sep 8 2015","MUB","iShares National AMT-Free Muni Bond ETF","$4.55"],
  			["Sep 8 2015","BNDX","Vanguard Total International Bond ETF","$4.55"],
  			["Sep 8 2015","LQD","iShares iBoxx $ Investment Grade Corporate Bond ETF","$4.55"],
  			["Page ","6"," of ","10"],
  			["Dividend Payment Detail"],
  			["Payment Date","Fund","Description","Amount"],
  			["Sep 25 2015","VTV","Vanguard Value ETF","$4.55"],
  			["Total","$4.55"],
  			["Quarterly Activity Detail"],
  			["Change","Balance"],
  			["Date "],
  			["2"],
  			["Transaction "],
  			["3"],
  			["Portfolio/Fund","Price","Shares","Value","Shares","Value"],
  			["Jul 2 2015","Dividend Reinvestment","Stocks / VEA","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Stocks / VTV","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VTI","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Jul 6 2015","Dividend Reinvestment","Stocks / VEA","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Stocks / VWO","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VTV","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Jul 7 2015","Dividend Reinvestment","Stocks / VWO","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Jul 14 2015","Dividend Reinvestment","Stocks / VWO","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Jul 21 2015","Automatic Deposit","Stocks / VTV","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Stocks / VTI","$999.88","3.222","$77.55","3.222","$77.55"],
  			["Stocks / VOE","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VBR","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VEA","$77.55","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VWO","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Bonds / MUB","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$4.55"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$4.55"],
  			["Aug 13 2015","Dividend Reinvestment","Stocks / VWO","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Aug 19 2015","Automatic Deposit","Stocks / VEA","$77.55","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VTI","$999.88","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VTV","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Stocks / VBR","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VOE","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VWO","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Bonds / MUB","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$4.55"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$4.55"],
  			["Sep 8 2015","Transfer from Safety Net - Rebalance","Stocks / VEA","$77.55","13.222","$999.88","23.222","$999.88"],
  			["Stocks / VTV","$77.55","3.222","$999.88","3.222","$999.88"],
  			["Stocks / VTI","$999.88","3.222","$999.88","3.222","$999.88"],
  			["Stocks / VOE","$77.55","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VBR","$999.88","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VWO","$77.55","3.222","$999.88","3.222","$999.88"],
  			["Bonds / MUB","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Page ","7"," of ","10"],
  			["Quarterly Activity Detail"],
  			["Change","Balance"],
  			["Date "],
  			["2"],
  			["Transaction "],
  			["3"],
  			["Portfolio/Fund","Price","Shares","Value","Shares","Value"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Sep 8 2015"],
  			["Transfer from Safety Net - Position"],
  			["Transfer"],
  			["Stocks / VOE","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Stocks / VTI","$999.88","3.222","$999.88","3.222","$999.88"],
  			["Bonds / BNDX","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Stocks / VTV","$77.55","3.222","$999.88","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Stocks / VBR","$999.88","3.222","$77.55","3.222","$77.55"],
  			["Bonds / MUB","$999.88","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VEA","$77.55","3.222","$999.88","13.222","$999.88"],
  			["Stocks / VWO","$77.55","3.222","$77.55","3.222","$77.55"],
  			["Sep 10 2015","Dividend Reinvestment","Bonds / MUB","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Sep 21 2015","Automatic Deposit","Stocks / VEA","$77.55","3.222","$77.55","23.222","$999.88"],
  			["Stocks / VTV","$77.55","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VTI","$999.88","3.222","$77.55","3.222","$999.88"],
  			["Stocks / VOE","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Stocks / VBR","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Stocks / VWO","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Bonds / MUB","$999.88","3.222","$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","3.222","$4.55","3.222","$77.55"],
  			["Bonds / BNDX","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Bonds / VWOB","$77.55","3.222","$4.55","3.222","$77.55"],
  			["Sep 29 2015","Dividend Reinvestment","Stocks / VWO","$77.55","3.222","$4.55","3.222","$999.88"],
  			["Sep 30 2015","Advisory Fee","Bonds / MUB","$999.88","-3.222","-$4.55","3.222","$999.88"],
  			["Bonds / LQD","$999.88","-3.222","-$4.55","3.222","$77.55"],
  			["Bonds / BNDX","$77.55","-3.222","-$4.55","3.222","$77.55"],
  			["Page ","8"," of ","10"],
  			["CASH ACTIVITY (TAXABLE)"],
  			["Subject to the terms of the sweep program, outlined in your customer agreement, your uninvested cash balances are held in a sweep account"],
  			["at The Bancorp Bank, and are FDIC insured. These balances include deposits waiting for trade settlement and withdrawals in transit. Cash"],
  			["balances such as dividends waiting for reinvestment may also be held in your securities account. Such credit balances in your securities"],
  			["account are protected by SIPC."," Below is the quarterly cash activity for both your sweep and securities accounts, including end of quarter"],
  			["4"],
  			["balances."],
  			["Sweep Account Cash Activity (Taxable)"],
  			["Date","Goal","Description","Transaction","Balance"],
  			["Jul 21 2015","Safety Net Goal","Deposit from Linked Bank Account","$77.55","$77.55"],
  			["Jul 21 2015","Build Wealth Goal","Deposit from Linked Bank Account","$77.55","$999.88"],
  			["Jul 24 2015","Safety Net Goal","Transfer to Securities Account","($77.55)","$77.55"],
  			["Jul 24 2015","Build Wealth Goal","Transfer to Securities Account","($77.55)","$4.55"],
  			["Aug 19 2015","Safety Net Goal","Deposit from Linked Bank Account","$77.55","$77.55"],
  			["Aug 19 2015","Build Wealth Goal","Deposit from Linked Bank Account","$77.55","$999.88"],
  			["Aug 24 2015","Safety Net Goal","Transfer to Securities Account","($77.55)","$77.55"],
  			["Aug 24 2015","Build Wealth Goal","Transfer to Securities Account","($77.55)","$4.55"],
  			["Sep 21 2015","Safety Net Goal","Deposit from Linked Bank Account","$77.55","$77.55"],
  			["Sep 21 2015","Build Wealth Goal","Deposit from Linked Bank Account","$999.88","$999.88"],
  			["Sep 24 2015","Safety Net Goal","Transfer to Securities Account","($77.55)","$999.88"],
  			["Sep 24 2015","Build Wealth Goal","Transfer to Securities Account","($999.88)","$4.55"],
  			["Balance as of September 30, 2015","$4.55"],
  			["Securities Account Cash Activity (Taxable)"],
  			["Date","Goal","Description","Transaction","Balance"],
  			["Jul 1 2015","Safety Net Goal","Payment of Dividends","$4.55","$4.55"],
  			["Jul 1 2015","Build Wealth Goal","Payment of Dividends","$4.55","$4.55"],
  			["Jul 3 2015","Build Wealth Goal","Fees","($4.55)","$4.55"],
  			["Jul 3 2015","Safety Net Goal","Fees","($4.55)","($4.55)"],
  			["Jul 6 2015","Safety Net Goal","Payment of Dividends","$77.55","$77.55"],
  			["Jul 6 2015","Build Wealth Goal","Payment of Dividends","$4.55","$77.55"],
  			["Jul 6 2015","Safety Net Goal","Settlement of Securities Sale","$4.55","$77.55"],
  			["Jul 6 2015","Build Wealth Goal","Settlement of Securities Sale","$4.55","$77.55"],
  			["Jul 6 2015","Safety Net Goal","Payment of Dividends","$4.55","$77.55"],
  			["Jul 6 2015","Build Wealth Goal","Payment of Dividends","$4.55","$77.55"],
  			["Jul 8 2015","Safety Net Goal","Settlement of Securities Purchase","($4.55)","$77.55"],
  			["Jul 8 2015","Build Wealth Goal","Settlement of Securities Purchase","($4.55)","$77.55"],
  			["Jul 9 2015","Build Wealth Goal","Settlement of Securities Purchase","($4.55)","$77.55"],
  			["Jul 9 2015","Safety Net Goal","Settlement of Securities Purchase","($77.55)","$4.55"],
  			["Jul 10 2015","Safety Net Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Jul 10 2015","Build Wealth Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Jul 13 2015","Safety Net Goal","Payment of Dividends","$4.55","$4.55"],
  			["Jul 13 2015","Build Wealth Goal","Payment of Dividends","$4.55","$4.55"],
  			["Jul 17 2015","Build Wealth Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Jul 17 2015","Safety Net Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Jul 24 2015","Safety Net Goal","Settlement of Securities Purchase","($77.55)","($77.55)"],
  			["Jul 24 2015","Build Wealth Goal","Settlement of Securities Purchase","($77.55)","($999.88)"],
  			["Jul 24 2015","Safety Net Goal","Transfer from Sweep Account","$77.55","($77.55)"],
  			["Page ","9"," of ","10"],
  			["Securities Account Cash Activity (Taxable)"],
  			["Date","Goal","Description","Transaction","Balance"],
  			["Jul 24 2015","Build Wealth Goal","Transfer from Sweep Account","$77.55","$4.55"],
  			["Aug 12 2015","Safety Net Goal","Payment of Dividends","$4.55","$4.55"],
  			["Aug 12 2015","Build Wealth Goal","Payment of Dividends","$4.55","$4.55"],
  			["Aug 18 2015","Safety Net Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Aug 18 2015","Build Wealth Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Aug 24 2015","Safety Net Goal","Settlement of Securities Purchase","($77.55)","($77.55)"],
  			["Aug 24 2015","Build Wealth Goal","Settlement of Securities Purchase","($77.55)","($999.88)"],
  			["Aug 24 2015","Safety Net Goal","Transfer from Sweep Account","$77.55","($77.55)"],
  			["Aug 24 2015","Build Wealth Goal","Transfer from Sweep Account","$77.55","$4.55"],
  			["Sep 9 2015","Safety Net Goal","Payment of Dividends","$4.55","$4.55"],
  			["Sep 9 2015","Build Wealth Goal","Payment of Dividends","$4.55","$4.55"],
  			["Sep 11 2015","Safety Net Goal","Settlement of Securities Sale","$999.88","$999.88"],
  			["Sep 11 2015","Safety Net Goal","Goal-to-goal Transfer","($999.88)","$4.55"],
  			["Sep 11 2015","Build Wealth Goal","Settlement of Securities Purchase","($999.88)","($999.88)"],
  			["Sep 11 2015","Build Wealth Goal","Goal-to-goal Transfer","$999.88","$4.55"],
  			["Sep 15 2015","Safety Net Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Sep 15 2015","Build Wealth Goal","Settlement of Securities Purchase","($4.55)","$4.55"],
  			["Sep 24 2015","Safety Net Goal","Settlement of Securities Purchase","($77.55)","($77.55)"],
  			["Sep 24 2015","Build Wealth Goal","Settlement of Securities Purchase","($999.88)","($999.88)"],
  			["Sep 24 2015","Safety Net Goal","Transfer from Sweep Account","$77.55","($999.88)"],
  			["Sep 24 2015","Build Wealth Goal","Transfer from Sweep Account","$999.88","$4.55"],
  			["Sep 28 2015","Safety Net Goal","Payment of Dividends","$4.55","$4.55"],
  			["Sep 28 2015","Build Wealth Goal","Payment of Dividends","$4.55","$4.55"],
  			["Balance as of September 30, 2015","$4.55"],
  			["Page ","10"," of ","10"],
  			["THE FINE PRINT"],
  			["1"],
  			[" Closing Prices as of September 30, 2015. Your positions are shown on a trade date basis, and may reflect trades that have not yet settled. SIPC protection is"],
  			["available only for positions as of settlement date. Your settlement date positions are your trade date positions, minus any trades in your Quarterly Activity Detail"],
  			["that have not yet settled, if any (see footnote 2). "],
  			[" Unless otherwise noted, the settlement date is three market days after the transaction date. Unsettled trades, if any, appear italicized towards the bottom of your"],
  			["2"],
  			["Quarterly Activity Detail. "],
  			[" Betterment Securities acted as an agent for you and bought or sold securities on your behalf. "],
  			["3"],
  			[" The $250,000 limit on FDIC deposit insurance applies on a per-account basis. For these purposes, all your taxable goals are considered one account, and your"],
  			["4"],
  			["IRA goals are treated as a separate account. Any other deposits held in your name at Bancorp outside of your Betterment relationship may count towards the"],
  			["$250,000 limit. A credit balance held at your securities account is protected by SIPC for up to $250,000 per account, as part of the total $500,000 limit that applies"],
  			["to cash and securities held in the account. SIPC insurance does not extend to FDIC-insured sweep deposits. Your sweep balance can be liquidated on your order,"],
  			["and the proceeds can be moved to your securities account or remitted to you."],
  			["The disclosure provided herein applies to all of your goals with Betterment, summarized above. The statement is broken out by goal for illustrative purposes only;"],
  			["your holdings are otherwise aggregated across all goals in your taxable account and IRA account."],
  			["Please review this document carefully. If details of any transaction are incorrect, you must immediately notify Betterment Customer Support at"],
  			["support@bettermentsecurities.com. Failure to make such notification within three (3) days of notification of this document constitutes your acceptance of the"],
  			["transactions."],
  			["Please take the opportunity to review the settings and restrictions, if any, on your account. This could include your portfolio allocation settings or your tax loss"],
  			["harvesting settings (which you may want to review if you expect to be subject to a substantially lower tax rate) among others. Please contact"],
  			["support@betterment.com, your investment adviser, if you wish to impose any reasonable restrictions on the management of your account or reasonably modify"],
  			["existing restrictions."],
  			["Please contact support@betterment.com, your investment adviser, if you would like to speak with someone knowledgeable about the account."],
  			["CUSTODY OF ASSETS: Betterment Securities is the custodian of assets in your Betterment Securities account."],
  			["FUNDS: \"Stocks\" is an aggregate summary of all securities listed within the Stocks group. The Stock and Bond summaries are presented for convenience only."],
  			["Actual securities holdings in the Stock or Bond groups are listed distinctly by name."],
  			["MARKETS: Securities are often traded on multiple markets and we will exercise discretion as to the market or markets in which your order is executed."],
  			["AGGREGATION: Your orders with Betterment Securities may be aggregated with the orders of other clients for purposes of execution. If orders are aggregated,"],
  			["each client receives the average price of the aggregate group order."],
  			["TRANSACTION TYPES: A \"Deposit\" is a purchase of securities made on account of an order that was generated by new money being transferred into your"],
  			["account. A \"Withdrawal\" is a sale of securities made on account of an order that was generated by a new withdrawal from your account. \"Dividend\" is a purchase"],
  			["of securities made according to an order resulting from dividends that accrue to your account. \"Allocation\" is a purchase or sale of securities made on account of a"],
  			["change to your account Allocation. \"Rebalance\" is a purchase or sale of securities made according to an order that was generated by the rebalancing of your"],
  			["account assets. \"Advisory Fee\" is a sale of securities liquidated to fund the payment of advisory fees to Betterment. If you are on the Betterment Institutional"],
  			["platform and have a separate investment advisor, the \"Advisory Fee\" is a sale of securities liquidated to fund the payment of advisory fees to Betterment and that"],
  			["investment advisor. \"Portfolio Update\" is a purchase or sale of securities made on account of a change to your portfolio."],
  			["REPRESENTATIONS: Descriptive words in the title of any security are used for identification purposes only and do not constitute representations."],
  			["EXECUTION: The time of execution, the name of the buyer or seller, and the commission charged to the other party if we acted as a dual agent, are available"],
  			["upon written request."],
  			["FRACTIONAL SHARES: Your account holds fractional share interests in securities. Please note that fractional share amounts are typically unrecognized and"],
  			["illiquid outside the Betterment platform and fractional shares might not be marketable outside the Betterment platform or transferrable to another brokerage"],
  			["account."],
  			["REGULATIONS: These transactions are subject to the rules, regulations, and customs of the exchange or market on which they are made and to any and all"],
  			["applicable federal, state and/or foreign statutes or regulations."],
  			["GOVERNING LAW: The terms and conditions of this confirmation shall be governed by and construed in accordance with the laws of the state of Delaware,"],
  			["without giving effect to the conflict of law provision thereof."],
  			["IRA CUSTODIAN: Sunwest Trust, Inc., P.O. Box 36371, Albuquerque, NM 87176., is the custodian of IRA accounts."],
  			["The products available through Betterment are investment products and as such: (i) are not insured by the Federal Deposit Insurance Corporation (\"FDIC\"); (ii)"],
  			["carry no bank or government guarantees, and are not a deposit or other obligation of, or guaranteed by, a bank; and (iii) have associated risks. Client understands"],
  			["that investments in securities are subject to investment risks, including possible loss of the principal amount invested. Your uninvested cash balances are subject"],
  			["to the terms in the Cash Activity section of your statement."],
  			["If you believe there is an inaccuracy or discrepancy between this statement and your account, you should immediately send written notification to Betterment"],
  			["Securities Customer Support at support@bettermentsecurities.com and retain a copy for your records. If you have any oral communications with Betterment"],
  			["Securities or its affiliates regarding inaccuracies or discrepancies, such communications should be re-confirmed in writing."],
  			["Complaints about your Betterment Securities brokerage account may be directed to Betterment Securities at support@bettermentsecurities.com, via phone by"],
  			["calling 212-228-1328, or by mail at 61 West 23rd Street, 5th Floor, New York, NY 10010."],
  			["Copies of statements and confirmations are available securely at bettermentsecurities.com."]
  		];
  
  		var parser = new arrayParser.BettermentPdfArrayParser();
  		var transactions = parser.parse(quarterlyPdf);
  
  		it('should return the right transactions', function () {
  			var expectedTransactions = [
  				createTransaction("07/02/2015", "Dividend Reinvestment", "BNDX", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/06/2015", "Dividend Reinvestment", "LQD", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/06/2015", "Dividend Reinvestment", "BNDX", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/06/2015", "Dividend Reinvestment", "VWOB", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/07/2015", "Dividend Reinvestment", "LQD", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/07/2015", "Dividend Reinvestment", "VWOB", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "LQD", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "VTIP", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "SHV", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "MUB", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "BNDX", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "VWOB", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "MUB", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VTIP", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "LQD", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "SHV", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VWOB", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("08/13/2015", "Dividend Reinvestment", "MUB", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("08/13/2015", "Dividend Reinvestment", "VTIP", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("08/13/2015", "Dividend Reinvestment", "SHV", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("08/13/2015", "Dividend Reinvestment", "VWOB", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VWO", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VTIP", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "MUB", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "SHV", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VWOB", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Rebalance", "MUB", "999.88", "-999.88", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Rebalance", "BNDX", "77.55", "-999.88", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Rebalance", "VTIP", "77.55", "-999.88", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Rebalance", "VWOB", "77.55", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Rebalance", "LQD", "999.88", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Rebalance", "SHV", "999.88", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VOE", "77.55", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VTI", "999.88", "-999.88", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "BNDX", "77.55", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VWOB", "77.55", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VTV", "77.55", "-999.88", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "LQD", "999.88", "-4.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VBR", "999.88", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "MUB", "999.88", "-77.55", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VEA", "77.55", "-999.88", "Safety Net Goal"),
  				createTransaction("09/08/2015", "Transfer to Build Wealth - Position Transfer", "VWO", "77.55", "-77.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "VTV", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "VTI", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "VOE", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "MUB", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "VTIP", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "LQD", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "SHV", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "BNDX", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "MUB", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VTIP", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "LQD", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "SHV", "999.88", "4.55", "Safety Net Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "BNDX", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/29/2015", "Dividend Reinvestment", "VEA", "77.55", "4.55", "Safety Net Goal"),
  				createTransaction("09/30/2015", "Advisory Fee", "MUB", "999.88", "-4.55", "Safety Net Goal"),
  				createTransaction("07/02/2015", "Dividend Reinvestment", "VEA", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/02/2015", "Dividend Reinvestment", "VTV", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/02/2015", "Dividend Reinvestment", "VTI", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("07/06/2015", "Dividend Reinvestment", "VEA", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/06/2015", "Dividend Reinvestment", "VWO", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/06/2015", "Dividend Reinvestment", "VTV", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/07/2015", "Dividend Reinvestment", "VWO", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/14/2015", "Dividend Reinvestment", "VWO", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VTV", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VTI", "999.88", "77.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VOE", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VBR", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VEA", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VWO", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "MUB", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "LQD", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "BNDX", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("07/21/2015", "Automatic Deposit", "VWOB", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("08/13/2015", "Dividend Reinvestment", "VWO", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VEA", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VTI", "999.88", "77.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VTV", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VBR", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VOE", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VWO", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "MUB", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "LQD", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "BNDX", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("08/19/2015", "Automatic Deposit", "VWOB", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VEA", "77.55", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VTV", "77.55", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VTI", "999.88", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VOE", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VBR", "999.88", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VWO", "77.55", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "MUB", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "LQD", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "VWOB", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Rebalance", "BNDX", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VOE", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VTI", "999.88", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "BNDX", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VWOB", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VTV", "77.55", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "LQD", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VBR", "999.88", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "MUB", "999.88", "77.55", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VEA", "77.55", "999.88", "Build Wealth Goal"),
  				createTransaction("09/08/2015", "Transfer from Safety Net - Position Transfer", "VWO", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "MUB", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "LQD", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/10/2015", "Dividend Reinvestment", "BNDX", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VEA", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VTV", "77.55", "77.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VTI", "999.88", "77.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VOE", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VBR", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VWO", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "MUB", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "LQD", "999.88", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "BNDX", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/21/2015", "Automatic Deposit", "VWOB", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/29/2015", "Dividend Reinvestment", "VWO", "77.55", "4.55", "Build Wealth Goal"),
  				createTransaction("09/30/2015", "Advisory Fee", "MUB", "999.88", "-4.55", "Build Wealth Goal"),
  				createTransaction("09/30/2015", "Advisory Fee", "LQD", "999.88", "-4.55", "Build Wealth Goal"),
  				createTransaction("09/30/2015", "Advisory Fee", "BNDX", "77.55", "-4.55", "Build Wealth Goal")
  			];
  
  			assert.deepEqual(transactions, expectedTransactions);
  		});
  	});
  });
  
  function createTransaction(date, description, ticker, price, value, goal) {
  	quantity = (value / price).toFixed(6);
  	return  {
  		ticker: ticker,
  		price: price,
  		amount: value,
  		quantity: quantity,
  		account: goal,
  		date: new Date(date),
  		description: description
  	};
  }
  