Honor active profiles for the test task [fixes #90]