Filter classes in code completion by HiddenInLibrary class attribute that hides them in library

@Benglin 
This test may results in test being in error state if ```completions``` is ```null```. Also, the test is not ideal as it will pass if there is anything wrong with the completion. Please see below on the suggested way.