Added create/detach/attach test based on Abduco's testsuite.sh.