added push and pop methods
added tests for push and pop methods