Added basic controls test in tests/controls-test