removed bug in test