Added specs for tpn, tpn_investiation & user models

User spec is half done. spec for testing the validation of email is raising connection error only in testing. i am working on it.