Main & Test working