Added #if DEBUG around Entity exceptions
Travis integration