fixed scope of test beans