Refactor specs for printing stats