Fix: OK for unpurchaseable quest to have no value

Changing test to only check that a quest has value if it is "canBuy=true".
This (with PR#262) should fix the last test error on habitrpg-shared.

UserID: 7941e218-7b6e-42b7-989d-8b040c65aa17