Add missing tests to graph
Improve tests for and remove unused method from stack component
Add missing test to stack component