Added basic tests to BoundedQueue

Verifies the queue behavior.