started writing unit tests for a.js
updated unit tests for a.js
started fleshing out A.js functionality