update Tests
size_t -> int
improved flagStatusWhenKeyPressed_ usage