Declare as module.
Move test code to separate module.