Adding more unit tests for the Stack resource class.