added specs for total() and run!()