convert build from Maven to SBT
add a few miscellaneous tests