strip out most tests and remove unused deps