Add tests for hardtanh and make em pass.