Fixes almost all bas tests except test 17. Needs more debugging stuff. These fixes will be temporary (will be deleted in next deliverables)
Merge pull request #16 from griera/master

Fixes almost all bas tests except test 17. Needs more debugging stuff. T...