Corrected compile and test scopes.