Added method is_allowed? to tests & added number slider