fix coding style issues with AbstractTest and Scope