refactor month test