Add test for isClassAvailable()

Change-Id: Id9eac4df2651d8f53288071526740e127116ad0f
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>