stack equals - and tests