fixed tests and a calculation bug, breaks api
added sublime files to exclusion