Moved theory to test