added tests to promote user logic