fixed block method and added tests to verify blocklist