bst stress test code