added post binary controller method and fixed test