[test] added test to verify https://jira.osiam.org/browse/BT-53