Fix activation tests
Fix MLP cost tests