Tests button enablement