test: add test for preserving min-stability modifier