added elapsed time calculation to assignments; fixed some related tests