spec for issue

Adding a spec for the issue model, specifically the set_points_from_hourly method