passes both tests