mod so that bonus calculations only consider workers who finished entire hit, also beginning to add tests

new TODOs: add server side response validation, write tests, migrate db to multi user fwk