jUnit Tests + Fixed Stack-Algorithm