Few more tests in the test functions
More tests. A few minor changes to image centre definition in aiaprep().