convert old tests into proper python tests - closes #1460