cleanup specs and silence warnings

@atroche @tmcinerney