spec was breaking in uic because of param was object instead of id