Added key down callback and removed test object creation