Convert test_classifier to be a unit test

This commit changes the tests in test_classifier to be unit tests
by stubbing out anything that requires the network. It also moves the
file from the functional test directory to the unit test directory.

Change-Id: I59477ebce92f6115a07a563462c4f536a4694689
Merge "Convert test_classifier to be a unit test"