Test cpymad

minor edits so that test_resource and test_madx are ran on our nightly builds..