CLOUD-204 Fixed bug, added script for testing