refactoring of 2q size increase
adding test case for am queue