refactored build_month method; added arrays tests