Update ./TEST, fix jasmine tests, delete wip code