fixed quick bug in test