Powershell behaviour driven testing of batch systems.