Changed directory, file and class name from stack to lifo to prevent conflict. Refactored test code accordingly.