Added some more unit tests for the activation functions.

Change-Id: I3705297e65c4e0f79ee7c742ab76627d7a50761b