fixed bug in extended log table, refactored testing, made testing of stacks more uniform